/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entities;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author HoangTien
 */
public class Book implements Serializable{
    private int bookId;
    private int cateId;
    private String bookName;
    private String bookImage;
    private String bookDescription;
    private List<Comment> listComm;
    private List<Folder> inListFolder;

    public Book() {
    }

    public Book(int bookId, int cateId, String bookName) {
        this.bookId = bookId;
        this.cateId = cateId;
        this.bookName = bookName;
    }
    
    public Book(int bookId, int cateId, String bookName, String bookImage, 
            String bookDescription, List<Comment> listComm) {
        this.bookId = bookId;
        this.cateId = cateId;
        this.bookName = bookName;
        this.bookImage = bookImage;
        this.bookDescription = bookDescription;
        this.listComm = listComm; 
    }

    public Book(int bookId, int cateId, String bookName, String bookImage, String bookDescription, List<Comment> listComm, List<Folder> inListFolder) {
        this.bookId = bookId;
        this.cateId = cateId;
        this.bookName = bookName;
        this.bookImage = bookImage;
        this.bookDescription = bookDescription;
        this.listComm = listComm;
        this.inListFolder = inListFolder;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getCateId() {
        return cateId;
    }

    public void setCateId(int cateId) {
        this.cateId = cateId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public List<Comment> getListComm() {
        return listComm;
    }

    public List<Folder> getInListFolder() {
        return inListFolder;
    }

    public void setListComm(List<Comment> listComm) {
        this.listComm = listComm;
    }

    public void setInListFolder(List<Folder> inListFolder) {
        this.inListFolder = inListFolder;
    }

    /**
     * @return the bookImage
     */
    public String getBookImage() {
        return bookImage;
    }

    /**
     * @param bookImage the bookImage to set
     */
    public void setBookImage(String bookImage) {
        this.bookImage = bookImage;
    }

    /**
     * @return the bookDescription
     */
    public String getBookDescription() {
        return bookDescription;
    }

    /**
     * @param bookDescription the bookDescription to set
     */
    public void setBookDescription(String bookDescription) {
        this.bookDescription = bookDescription;
    }
    
}
